<template></template>

<script>
  export default {
    created() {
      const url = 'https://service.loveonline.net.cn:8443/login';
      let nurseAppWindow = window.open(url);
      window.addEventListener('message', (event) => {
        console.log('退出登陆')
        app.logout();
      });

      setTimeout(() => {
        this.closeCurrentPage();
      }, 100);
    }
  }
</script>